package com.joey.cloud.auth.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author joey
 */
@Data
@ApiModel(value="密码模式-登陆form")
public class PwdLoginForm implements Serializable {
    private static final long serialVersionUID = 1L;
    @NotNull(message = "账号不能为空")
    @ApiModelProperty(value = "账号名", required = true)
    private String accountNum;
    @NotNull(message = "密码不能为空")
    @ApiModelProperty(value = "密码,md5加密后", required = true)
    private String password;
}
